package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.query.ObjectQuery;

import java.util.List;

public interface OrganizationMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Organization record);

    Organization selectByPrimaryKey(Long id);

    List<Organization> selectAll();

    void updateByPrimaryKey(Organization record);

    int queryForCount(ObjectQuery qo);

    List<Organization> queryForList(ObjectQuery qo);

    void changState(Long id);


    List<Organization> queryOrg();

}